package com.utils;

import java.text.SimpleDateFormat;
import java.util.Calendar;
import java.util.Locale;

public class TimeUtils {
	
	public static String getCurrentTime(){
		Calendar rq=Calendar.getInstance(Locale.CHINA);
		rq.setTimeInMillis(System.currentTimeMillis());
		SimpleDateFormat  df   =   new   SimpleDateFormat( "yyyy-MM-dd",Locale.CHINA);  
		rq.add(Calendar.DAY_OF_MONTH,0);
		String sd=df.format(rq.getTime());

		return sd;

	}

}
